package com.woniuxy.caradmin.mapper;

import com.woniuxy.caradmin.entity.pojo.Yearcheckrecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
@Repository
public interface YearcheckrecordMapper {
//查询年检记录
    public List<Yearcheckrecord> selectAllByPage(Yearcheckrecord yearcheckrecord);
    //增加记录
    public int addYearcheckrecord(Yearcheckrecord yearcheckrecord);
    //修正记录
    public int  upYearcheckrecord(Yearcheckrecord yearcheckrecord);
    //删除记录
    public int removeYearcheckrecord(@Param("id") Integer id);
    //id查
    public Yearcheckrecord selectYearcheckrecordByid(@Param("id") Integer id);
}
